package grafica;

import java.awt.Color;
import java.awt.Graphics;

import modulo.Specchio;
import vista.Drawable;

public abstract class SpecchioGrafico extends Specchio implements Drawable{

	public SpecchioGrafico(int x, int y, int width, int height) {
		super(x, y, width, height);
	}

	protected abstract void disegna(Graphics g);

	@Override
	public void draw(Graphics g) {
		g.setColor(Color.CYAN);
		disegna(g);
	}

}